package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.BuyRecord;
import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.BuyRecordQueryObject;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.List;

public interface BuyRecordMapper {
    int insert(BuyRecord record);
    BuyRecord selectByPrimaryKey(Long id);
    List<BuyRecord> selectAll();
    int updateByPrimaryKey(BuyRecord record);

    List<BuyRecord> selectByQuery(BuyRecordQueryObject queryObject);
}